import {defineStore} from 'pinia'
import {ref} from 'vue'

export const useAssistantListStore = defineStore('assistantList',()=>{
    const assistantList = ref([])

    const setAssistantList = (data)=>{
        assistantList.value = data
    }

    const removeAssistantList = ()=>{
        assistantList.value = []
    }

    return{
        assistantList,setAssistantList,removeAssistantList
    }
},{
    persist:true
});
